package com.kmxd.ams.client.use.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.util.Date;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 推送表
 *
 * @author nickbi
 * @since 2023-01-11
 */
@Schema(description = "推送权限查询对象")
@Data
public class UsePushAuthQueryDTO implements Serializable {

  private static final long serialVersionUID = 1L;

  /** 主键 */
  @Schema(description = "主键")
  @NotNull(message = "推送id不能为空")
  private Long id;

  @Schema(description = "门类id")
  @NotNull(message = "门类id不能为空")
  private Long archTypeId;

  @Schema(description = "表id")
  @NotNull(message = "表id不能为空")
  private String tableId;

  @NotNull(message = "用户不能为空")
  private Long userId;

  private Date currentTime;
}
